<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h = "http://java.sun.com/jsf/html"
      xmlns:f = "http://java.sun.com/jsf/core">
    <f:view>
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Customers!</title>
    </h:head>
    <h:body>
        <h1>We have the following customers:</h1>
        <hr/>

        <h:dataTable value="#{customerController.customerList}" var="cu">
            <h:column>
                <f:facet name="header">
                    <h:outputText value="Login Name" />
                </f:facet>
                <h:outputText value="#{cu.email}" />

                <f:facet name="header">
                    <h:outputText value="Password" />
                </f:facet>
                <h:outputText value="#{cu.pass}" />

                 <f:facet name="header">
                    <h:outputText value="is logged in" />
                </f:facet>
                <h:outputText value="#{loginController.lin}" />
            </h:column>



            

        </h:dataTable>


    </h:body>
    </f:view>
</html>
